package com.example.moblie2030606150cjk0507;

import android.content.Intent;
import android.os.Bundle;
import android.widget.TextView;

import androidx.appcompat.app.AppCompatActivity;

public class showDataActivity extends AppCompatActivity {

    private TextView tvShowtitle;
    private TextView tvShowname;
    private TextView tvShowpsw;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_show_data);
        initView();
        Intent intent = getIntent();
        tvShowname.setText(intent.getStringExtra("userName"));
        Bundle bundle = intent.getExtras();
        tvShowpsw.setText(bundle.getString("passWord"));

    }

    private void initView() {
        tvShowtitle = (TextView) findViewById(R.id.tvShowtitle);
        tvShowname = (TextView) findViewById(R.id.tvShowname);
        tvShowpsw = (TextView) findViewById(R.id.tvShowpsw);
    }
}